import {
	defineStore
} from 'pinia';

const usePrivacyStore = defineStore('privacy', {
	state: () => ({
		privacyModal: {
			show: false,
			resolvePrivacyAuthorization: () => {},
		},
	}),
	actions: {
		togglePrivacyModal(value) {
			this.privacyModal.show = value;
		},
	},
});

export default usePrivacyStore;